<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      //   var obj = { name: "张三" };
      //   var obj1 = obj;
      //   obj1.name = "111";
      //   console.log(obj);

      //   var obj = { name: "张三" };
      //   obj3 = {};
      //   obj3.name = obj.name;
      //   //   console.log(obj3);
      //   var obj2 = obj;
      //   obj2.name = "1111";
      //   //   console.log(obj);
      //   //   console.log(obj2);
      //   //   console.log(obj3);
      //   console.log(obj === obj3);
      //   console.log(obj === obj2);
    </script>
  </body>
</html>
